package com.chen.blue.domain.dto.business;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * Created By CLT On 2024/6/20.
 */
@SuppressWarnings("all")
@Getter
@Setter
@ApiModel("赛事申请添加参数")
public class CompetitionDto implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 赛事名称
     */
    @Length(max = 64, message = "赛事名称长度不能超过64个字符")
    @NotNull(message = "赛事名称不能为空")
    @ApiModelProperty(value = "赛事名称", required = true, example = "江西省职业院校技能大赛")
    private String competitionName;


}
